import tushare as ts
import matplotlib.pyplot as plt
df1 = ts.get_k_data('601229', ktype='D', start='2016-11-18', end='2021-9-26')
datapath1 = "./SH601229.csv"
df1.to_csv(datapath1)